VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Color Namespace / RemapColorsCommand Class / RemapColorsCommand Constructors / RemapColorsCommand Constructor(Byte[])
Syntax Exceptions Requirements SeeAlso
In This Topic
RemapColorsCommand Constructor(Byte[])
In This Topic
Initializes a new instance of the RemapColorsCommand class.
Syntax
'Declaration

Public Function New( _
ByVal grayMap
A map for the gray channel. Must contain 256 elements.
() As Byte _
)
public RemapColorsCommand(
byte[] grayMap
)

Parameters

grayMap
A map for the gray channel. Must contain 256 elements.
Exceptions
ExceptionDescription
Thrown if color map size is not equal to 256.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also